﻿using SmartPlant.Model.Biz;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace SmartPlant.Services.Interfaces
{
    public interface IHookUpService
    {
        Task<List<HookUpType>> GetHookUpTypeTreeAsync(string proId);
        Task<HookUp> GetHookUpAsync(string proId, string hookUpTypeId);
        Task<HookUp> GetHookUpDetailAsync(string proId, string hookUpTypeId);

        Task<dynamic> LoadDynamicHookUpComponents(string jsonStr);
    }
}
